import ScanDirectly from "../modules/ProdInbound/ScanDirectly";
import SourceOrder from "../modules/ProdInbound/SourceOrder";
import OrderLines from "../modules/ProdInbound/SourceOrder/OrderLines";
import OrderOps from "../modules/ProdInbound/SourceOrder/OrderOps";
import ScanOps from "../modules/ProdInbound/ScanDirectly/ScanOps";
import OrderLineDetails from "../modules/ProdInbound/SourceOrder/OrderLineDetails";
import ScanDirectlyDetails from "../modules/ProdInbound/ScanDirectly/ScanDirectlyDetails";
import ScanOpsPallet from "../modules/ProdInbound/ScanDirectly/ScanOpsPallet";
import ScanOpsItem from "../modules/ProdInbound/ScanDirectly/ScanOpsItem";

const route = {
  path: "prod-inbound",
  children: [
    { path: "source-order", element: <SourceOrder /> },
    { path: "order-lines", element: <OrderLines /> },
    { path: "order-ops", element: <OrderOps /> },
    { path: "scan-directly", element: <ScanDirectly /> },
    {
      path: "scan-ops",
      element: <ScanOps />,
      children: [
        { path: "pallet", element: <ScanOpsPallet /> },
        { path: "item", element: <ScanOpsItem /> },
      ],
    },
    { path: "order-line-details", element: <OrderLineDetails /> },
    { path: "scan-directly-details", element: <ScanDirectlyDetails /> },
  ],
};

export default route;
